package skipass.command;

import skipass.CardStatSystem;
import skipass.container.Card;

public class CheckBlocked implements Command {

	private Card card;
	private CardStatSystem css;

	public CheckBlocked(Card card, CardStatSystem css) {
		this.card = card;
	}

	@Override
	public boolean execute() {
		if (!(css.isBlocked(card.getId())))
			return true;
		else return false;
	}

}
